import ReactDOM from 'react-dom/client'

import { RouterProvider } from 'react-router-dom'
import router from '@/router'
import { Provider } from 'react-redux'
import store from '@/store'

// 引入全局样式文件
import './index.scss'

// 引入初始化样式文件
import 'normalize.css/normalize.css'

const root = ReactDOM.createRoot(document.getElementById('root')!)

root.render(
  <Provider store={store}>
    <RouterProvider router={router}>
    </RouterProvider>
  </Provider>
)